import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { NavBar, Form, Field, Empty, Cell, Grid, CellGroup, image, GridItem, Button, Tabbar, TabbarItem, Icon, Search, Tab, Tabs, Card, DropdownMenu, DropdownItem, Tag, Swipe, SwipeItem } from 'vant'
import 'amfe-flexible'
Vue.use(image)
Vue.use(Empty)

Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Tag)

Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Card)

Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Search)
Vue.use(Tab)
Vue.use(Tabs)
Vue.config.productionTip = false
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Button)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
